package com.ziyun.erp.modules.capital.dao;

import com.ziyun.erp.modules.capital.entity.SupplierApplyCashRuleEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.capital.vo.SupplierApplyCashRuleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 工厂提现规则
 * 
 * @author gaosheng
 * @email 
 * @date 2018-11-08 14:54:49
 */
public interface SupplierApplyCashRuleDao extends BaseMapper<SupplierApplyCashRuleEntity> {

    int countApplyCashRule(@Param("map") Map<String, Object> map);

    List<SupplierApplyCashRuleVo> queryPageApplyCashRuleList(@Param("map") Map<String, Object> map);

    int updateBatchByMap(@Param("map") Map<String, Object> map, @Param("ids") List<Integer> ids);
}
